Tryit Editor v2.3

Edit This Code:
<!DOCTYPE html> <html> <head> <style> table, th, td { border: 1px solid black; border-collapse: collapse; } th, td { padding: 5px; text-align: left; } </style> </head> <body> <h2>Horizontal Headings:</h2> <table style="width:100%"> <tr> <th>Name</th> <th>Telephone</th> <th>Telephone</th> </tr> <tr> <td>Bill Gates</td> <td>555 77 854</td> <td>555 77 855</td> </tr> </table> <h2>Vertical Headings:</h2> <table style="width:100%"> <tr> <th>Name:</th> <td>Bill Gates</td> </tr> <tr> <th>Telephone:</th> <td>555 77 854</td> </tr> <tr> <th>Telephone:</th> <td>555 77 855</td> </tr> </table> </body> <!-- Mirrored from www.w3schools.com/html/tryit.asp?filename=tryhtml_table_headers by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:21:01 GMT --> </html>
Result:
Try it Yourself - © w3schools.com